<template>
    <div>

        <!-- 轮播图 -->
        <mt-swipe :auto="4000">
            <mt-swipe-item>
                <img src="src\images\lunbotu_1.jpg" alt="我裂开了">
            </mt-swipe-item>
            <mt-swipe-item>
                <img src="src\images\lunbotu_2.jpg" alt="我裂开了">
            </mt-swipe-item>
        </mt-swipe>

        <!-- 6宫格 -->
        <ul class="mui-table-view mui-grid-view mui-grid-9">
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                <router-link to="/home/newslist">
                    <img src="src\images\menu1.png" alt="我裂开了">
                    <div class="mui-media-body">新闻资讯</div>
                </router-link>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                <router-link to="/home/photolist">
                    <img src="src\images\menu2.png" alt="我裂开了">
                    <div class="mui-media-body">图片分享</div>
                </router-link>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                <router-link to="/home/goodslist">
                    <img src="src\images\menu3.png" alt="我裂开了">
                    <div class="mui-media-body">商品购买</div>
                </router-link>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                <router-link to="/home/photolist">
                    <img src="src\images\menu4.png" alt="我裂开了">
                    <div class="mui-media-body">留言反馈</div>
                </router-link>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                <a href="#">
                    <img src="src\images\menu5.png" alt="我裂开了">
                    <div class="mui-media-body">视频专区</div>
                </a>
            </li>
            <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
                <a href="#">
                    <img src="src\images\menu6.png" alt="我裂开了">
                    <div class="mui-media-body">联系我们</div>
                </a>
            </li>            
        </ul> 
        
    </div>
</template>

<script>
// 导入 评论 子组件
export default{
    data(){
        return{}
    },
    created() {
        
    },
    methods:{
        // getLunbotu(){// 获取轮播图数据的方法
        //     this.$http.get('api接口').then(result =>{
        //         console.log(result.body);
        //     });
            
        // }
    }
}
</script>

<style lang="scss" scoped>
.mint-swipe{
    height: 200px;

    // .mint-swipe-item{
    //     &:nth-child(1){ background-color: bisque;}
    //     &:nth-child(2){ background-color: black;}        
    // }
    img{
         height: 100%;
         width: 100%;
    }    
}

// 去除 6宫格 背景色
.mui-grid-view.mui-grid-9{
    background-color: #fff;
    border: none;
    img{
        width: 60px;
        height: 60px;
    }
    .mui-media-body{
        font-size: 14px;
    }
}
// 去除 6宫格 横线
.mui-grid-view.mui-grid-9 .mui-table-view-cell{
    border: 0;
}
</style>